<template>
	<view class="content">
		<view class="status_bar">
			  <!-- 这里是状态栏 --> 
	    </view>
		<uni-nav-bar left-icon="back" left-text="返回"  title="列表"></uni-nav-bar>
		
		
	</view>
</template>

<script>
	import uniNavBar from "@/components/uniapp/uni-nav-bar/uni-nav-bar.vue"
	export default {
		data() {
			return {
				title: 'Hello',
				
			}
		},
		onLoad() {

		},
		created() {
			this.getHomeData()
		},
		methods: {
			async getHomeData() {
			      // ajax封装基本案例
			      var data = await this.$http.homeService.getHomeData({
			      });
			      console.log(data)
			
			    },
		},
		 components: {uniNavBar}
	}
</script>

<style>
	  .status_bar {
	      height: var(--status-bar-height);
	      width: 100%;
	  }
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>
